#ifndef SCENE
#define SCENE
#include "common.h"
#include "object.h"
#include "complexObj.h"

#include <string.h>

struct Scene{
    Scene(string file = "");
    bool getCrashPoint(const Ray &ray, int& id, Vec& N, Vec& P, Material& material);
    int objectNum;
    int lightNum;
    int pointNum;
    Object* object[20];
    Light* light[20];

public:
    void importLight();
    void addObject(Object*);
};

#endif // SCENE

